<?php
    require_once 'includes.php';
    try {
        require_once 'urls.php';
    } catch(Exception $e) {
        echo '<h1>Some really bad stuff happened</h1>';
        echo '<div style="background:#f00;color:#fff;font-weight:bold;padding:5px">' . $e->getMessage() . '</div>';
        echo 'in Line <strong>' . $e->getLine() . '</strong> in <em>' . $e->getFile() . '</em>';
        echo '<pre>';
        echo $e->getTraceAsString();
        echo '</pre>';
    }
?>